<?php

require("top.ajax.php");

if(isset($_POST['id'])) {
    $user = new User($_POST['id']);
    $tpl->assign('user', $user);
    $tpl->display('ajax/fullprofile.tpl');
}

 ?>